<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: ATNamedViewCollection</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="../../de/dfb/struct_a_t_named_view_collection-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">ATNamedViewCollection</div></div>
</div><!--header-->
<div class="contents">

<p>命名视图集合对象  
 <a href="../../de/d8b/struct_a_t_named_view_collection.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d7/d9b/_a_t_named_view_8h_source.html">ATNamedView.h</a>&gt;</code></p>

<p>继承自 NonCopyableClass .</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a8bbb5e2c20b14a91a57212094e64b6a7"><td class="memItemLeft" align="right" valign="top"><a id="a8bbb5e2c20b14a91a57212094e64b6a7" name="a8bbb5e2c20b14a91a57212094e64b6a7"></a>
typedef xvector&lt; ATNamedViewPtr &gt;::const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>const_iterator</b></td></tr>
<tr class="separator:a8bbb5e2c20b14a91a57212094e64b6a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fe0a234ac0d2af18105351de31b2418"><td class="memItemLeft" align="right" valign="top"><a id="a8fe0a234ac0d2af18105351de31b2418" name="a8fe0a234ac0d2af18105351de31b2418"></a>
typedef const_iterator&#160;</td><td class="memItemRight" valign="bottom"><b>iterator</b></td></tr>
<tr class="separator:a8fe0a234ac0d2af18105351de31b2418"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a06503ddce5cc7654dc2eac2f7e00950c"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d8b/struct_a_t_named_view_collection.html#a06503ddce5cc7654dc2eac2f7e00950c">begin</a> () const</td></tr>
<tr class="memdesc:a06503ddce5cc7654dc2eac2f7e00950c"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取首迭代器  <a href="../../de/d8b/struct_a_t_named_view_collection.html#a06503ddce5cc7654dc2eac2f7e00950c">更多...</a><br /></td></tr>
<tr class="separator:a06503ddce5cc7654dc2eac2f7e00950c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7f88a432775e3a366e15e68fee10ad2"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT const_iterator&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d8b/struct_a_t_named_view_collection.html#ac7f88a432775e3a366e15e68fee10ad2">end</a> () const</td></tr>
<tr class="memdesc:ac7f88a432775e3a366e15e68fee10ad2"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取尾迭代器  <a href="../../de/d8b/struct_a_t_named_view_collection.html#ac7f88a432775e3a366e15e68fee10ad2">更多...</a><br /></td></tr>
<tr class="separator:ac7f88a432775e3a366e15e68fee10ad2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacddbb0b5912b4c7e5ed38c1d8becb61"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATNamedViewPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d8b/struct_a_t_named_view_collection.html#aacddbb0b5912b4c7e5ed38c1d8becb61">FindByName</a> (WCharCP name, bool partialMatch) const</td></tr>
<tr class="memdesc:aacddbb0b5912b4c7e5ed38c1d8becb61"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据名称查找命名视图  <a href="../../de/d8b/struct_a_t_named_view_collection.html#aacddbb0b5912b4c7e5ed38c1d8becb61">更多...</a><br /></td></tr>
<tr class="separator:aacddbb0b5912b4c7e5ed38c1d8becb61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:accf13bf545b8f39536904a2c5cac3a86"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT ATNamedViewPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d8b/struct_a_t_named_view_collection.html#accf13bf545b8f39536904a2c5cac3a86">FindByObjectId</a> (ObjectId ObjectId) const</td></tr>
<tr class="memdesc:accf13bf545b8f39536904a2c5cac3a86"><td class="mdescLeft">&#160;</td><td class="mdescRight">根据存储命名视图的元素的ID查找命名视图  <a href="../../de/d8b/struct_a_t_named_view_collection.html#accf13bf545b8f39536904a2c5cac3a86">更多...</a><br /></td></tr>
<tr class="separator:accf13bf545b8f39536904a2c5cac3a86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeeef745b1db2f859dfb6b4bcdfed6802"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT NamedViewStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d8b/struct_a_t_named_view_collection.html#aeeef745b1db2f859dfb6b4bcdfed6802">Replace</a> (ATNamedViewR namedView, WCharCP nameOfViewReplaced)</td></tr>
<tr class="memdesc:aeeef745b1db2f859dfb6b4bcdfed6802"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用新命名视图替换旧命名视图  <a href="../../de/d8b/struct_a_t_named_view_collection.html#aeeef745b1db2f859dfb6b4bcdfed6802">更多...</a><br /></td></tr>
<tr class="separator:aeeef745b1db2f859dfb6b4bcdfed6802"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6f179f7f4fc2787117f0073916bf433"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d8b/struct_a_t_named_view_collection.html#af6f179f7f4fc2787117f0073916bf433">NameUnused</a> (WCharCP name) const</td></tr>
<tr class="memdesc:af6f179f7f4fc2787117f0073916bf433"><td class="mdescLeft">&#160;</td><td class="mdescRight">当给定的名称在命名视图组中未出现时返回true  <a href="../../de/d8b/struct_a_t_named_view_collection.html#af6f179f7f4fc2787117f0073916bf433">更多...</a><br /></td></tr>
<tr class="separator:af6f179f7f4fc2787117f0073916bf433"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af23d57cd42e3956f7c7d81265e40661c"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT UInt32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d8b/struct_a_t_named_view_collection.html#af23d57cd42e3956f7c7d81265e40661c">Size</a> () const</td></tr>
<tr class="memdesc:af23d57cd42e3956f7c7d81265e40661c"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回命名视图组中命名视图的数量  <a href="../../de/d8b/struct_a_t_named_view_collection.html#af23d57cd42e3956f7c7d81265e40661c">更多...</a><br /></td></tr>
<tr class="separator:af23d57cd42e3956f7c7d81265e40661c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeccb67fc204d2f47436c901be5dbc225"><td class="memItemLeft" align="right" valign="top">ATDATACORE_EXPORT NamedViewStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../de/d8b/struct_a_t_named_view_collection.html#aeccb67fc204d2f47436c901be5dbc225">GetUniqueNameFromBase</a> (WStringR uniqueName, WCharCP baseName, bool forCopy=false) const</td></tr>
<tr class="memdesc:aeccb67fc204d2f47436c901be5dbc225"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用给定的基础名称生成一个唯一名称  <a href="../../de/d8b/struct_a_t_named_view_collection.html#aeccb67fc204d2f47436c901be5dbc225">更多...</a><br /></td></tr>
<tr class="separator:aeccb67fc204d2f47436c901be5dbc225"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >命名视图集合对象 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a06503ddce5cc7654dc2eac2f7e00950c" name="a06503ddce5cc7654dc2eac2f7e00950c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06503ddce5cc7654dc2eac2f7e00950c">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT const_iterator ATNamedViewCollection::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取首迭代器 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT const_iterator</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="ac7f88a432775e3a366e15e68fee10ad2" name="ac7f88a432775e3a366e15e68fee10ad2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac7f88a432775e3a366e15e68fee10ad2">&#9670;&nbsp;</a></span>end()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT const_iterator ATNamedViewCollection::end </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取尾迭代器 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT const_iterator</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="aacddbb0b5912b4c7e5ed38c1d8becb61" name="aacddbb0b5912b4c7e5ed38c1d8becb61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacddbb0b5912b4c7e5ed38c1d8becb61">&#9670;&nbsp;</a></span>FindByName()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATNamedViewPtr ATNamedViewCollection::FindByName </td>
          <td>(</td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>partialMatch</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>根据名称查找命名视图 </p>
<dl class="section note"><dt>注解</dt><dd>大小写敏感</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">WCharCP</td><td>name 待查找的命名视图的名称 </td></tr>
    <tr><td class="paramname">bool</td><td>partialMatch 是否允许部分匹配 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATNamedViewPtr 命名视图或NULL</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="accf13bf545b8f39536904a2c5cac3a86" name="accf13bf545b8f39536904a2c5cac3a86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#accf13bf545b8f39536904a2c5cac3a86">&#9670;&nbsp;</a></span>FindByObjectId()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT ATNamedViewPtr ATNamedViewCollection::FindByObjectId </td>
          <td>(</td>
          <td class="paramtype">ObjectId&#160;</td>
          <td class="paramname"><em>ObjectId</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>根据存储命名视图的元素的ID查找命名视图 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ObjectId</td><td>ObjectId 存储命名视图的元素的ID </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT ATNamedViewPtr 命名视图或NULL</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="aeccb67fc204d2f47436c901be5dbc225" name="aeccb67fc204d2f47436c901be5dbc225"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeccb67fc204d2f47436c901be5dbc225">&#9670;&nbsp;</a></span>GetUniqueNameFromBase()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT NamedViewStatus ATNamedViewCollection::GetUniqueNameFromBase </td>
          <td>(</td>
          <td class="paramtype">WStringR&#160;</td>
          <td class="paramname"><em>uniqueName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>baseName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>forCopy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用给定的基础名称生成一个唯一名称 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">WStringR</td><td>uniqueName 生成后的名称 </td></tr>
    <tr><td class="paramname">WCharCP</td><td>baseName 基础名称，如果为空，使用场景的名称作为基础名称 </td></tr>
    <tr><td class="paramname">bool</td><td>forCopy 为true时，通过添加"- Copy"后缀来生成唯一名称 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedViewStatus 成功时返回Success</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="af6f179f7f4fc2787117f0073916bf433" name="af6f179f7f4fc2787117f0073916bf433"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6f179f7f4fc2787117f0073916bf433">&#9670;&nbsp;</a></span>NameUnused()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT bool ATNamedViewCollection::NameUnused </td>
          <td>(</td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>当给定的名称在命名视图组中未出现时返回true </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">WCharCP</td><td>name </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT bool</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="aeeef745b1db2f859dfb6b4bcdfed6802" name="aeeef745b1db2f859dfb6b4bcdfed6802"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeeef745b1db2f859dfb6b4bcdfed6802">&#9670;&nbsp;</a></span>Replace()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT NamedViewStatus ATNamedViewCollection::Replace </td>
          <td>(</td>
          <td class="paramtype">ATNamedViewR&#160;</td>
          <td class="paramname"><em>namedView</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>nameOfViewReplaced</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>使用新命名视图替换旧命名视图 </p>
<dl class="section note"><dt>注解</dt><dd>替换后的新命名视图将被写入到项目中</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">ATNamedViewR</td><td>namedView 新命名视图 </td></tr>
    <tr><td class="paramname">WCharCP</td><td>nameOfViewReplaced 旧命名视图的名称；若为NULL，则替换与新命名视图名称相同的旧命名视图 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT NamedViewStatus</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<a id="af23d57cd42e3956f7c7d81265e40661c" name="af23d57cd42e3956f7c7d81265e40661c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af23d57cd42e3956f7c7d81265e40661c">&#9670;&nbsp;</a></span>Size()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ATDATACORE_EXPORT UInt32 ATNamedViewCollection::Size </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>返回命名视图组中命名视图的数量 </p>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT UInt32</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/11 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATDataCore/<a class="el" href="../../d7/d9b/_a_t_named_view_8h_source.html">ATNamedView.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
